import App from './App'
import fuiConfig from './components/firstui/fui-config'
//组件全局配置，$fui 为约定值不可修改
uni.$fui = fuiConfig

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'

import $com from "common/common"
import $store from "common/store"

Vue.config.productionTip = false
Vue.prototype.$com = $com
Vue.prototype.$store = $store
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {createSSRApp} from 'vue'

export function createApp() {
    const app = createSSRApp(App)
    return {
        app
    }
}

// #endif